package util;

public class Task {

    public int pid;
    public String name;
    public String sessionName;
    public int sessionId;
    public String memoryUsage;
    
    public Task(String task) {
        String[] data = task.split(",");
        
        pid = Integer.parseInt(data[1].replace("\"", ""));
        name = data[0].replace("\"", "");
        sessionName = data[2].replace("\"", "");
        sessionId = Integer.parseInt(data[3].replace("\"", ""));
        memoryUsage = data[4].replace("\"", "").replace("�", " ");
    }
    
}
